<div class="col-md-6"> 
<?php if(isset($banner_top) && $banner_top->num_rows() > 0): ?>
  <?php foreach($banner_top->result_array() as $row): ?>
  <a href="<?php echo $row[field('url')]; ?>">
    <img src="<?php echo base_url(UPLOAD_PATH.'banners/'.$row[field('image')]); ?>" width="100%" height="100%" />
  </a>
  <?php endforeach; ?>
<?php endif; ?>
</div>
